<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>用户注册</title>
    <!-- link rel="stylesheet" type="text/css" th:href="@{/css/registration.css}" /-->
    <link rel="shortcut icon" th:href="@{../pages/img/logo.jpg.ico}" />
    <link crossorigin="anonymous" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" href="https://lib.baomitu.com/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
    <script crossorigin="anonymous" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js"></script>
    <script crossorigin="anonymous" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>

    <script>
        function addUser() {
            window.alert("添加成功")
        }
    </script>
</head>

<body style="background-color: #ededed;">
<div style="background-color: #ffeaed; height: 50px;"></div>
<div class="container-fluid" style="margin-top: 30px;">

    <div class="row col-lg-4 col-lg-offset-4" style="margin-top: 40px; background-color: #fff; padding: 20px; border: solid 1px #ddd;">
        <h3 class="form-signin-heading">注册</h3>

        <form th:action="@{/addUser1}" th:method="get" >
            <div class="form-group">
                <div class="">
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <p>用户名称：<input th:type="text" th:name="uName" th:required="true"></p>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <p>
                        <select th:name="uSex">
                            <option  th:value="男" th:text="男"></option>
                            <option th:value="女" th:text="女"></option>
                        </select>
                    </p>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <p>用户手机号：<input th:type="text" th:name="uPhoneNum"></p>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <p>用户账号：<input th:type="text" th:name="uUsername"></p>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <p>用户密码：<input th:type="text" th:name="uPassword"></p>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                <button type="submit" onclick="" class="btn btn-info" th:onclick="addUser()">确认</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>